<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>SDL_gpu: GPU_SetVirtualResolution</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SDL_gpu
   &#160;<span id="projectnumber">0.10.0</span>
   </div>
   <div id="projectbrief">A hardware-accelerated, cross-platform 2D graphics API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="group__TargetControls.html">Target Controls</a></li>  </ul>
</div>
</div><!-- top -->
<div class="contents">
<table cellspacing="0" cellpadding="0" border="0">
  <tr>
   <td valign="top">
      <div class="navtab">
        <table>
          <tr><td class="navtab"><a class="qindex" href="group__TargetControls_ga11b1168116fac01b4b0b26ea8c6c3226.html#ga11b1168116fac01b4b0b26ea8c6c3226">GPU_CreateAliasTarget</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__TargetControls_ga85396b72febf04fd14d298c16d12b7b6.html#ga85396b72febf04fd14d298c16d12b7b6">GPU_FreeTarget</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__TargetControls_ga771355a4da5be3d9f0d51f9c8da96ef2.html#ga771355a4da5be3d9f0d51f9c8da96ef2">GPU_GetCamera</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__TargetControls_ga156cce7984434e223032ce2c060366fc.html#ga156cce7984434e223032ce2c060366fc">GPU_GetDefaultCamera</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__TargetControls_ga1e2de41f2cea7b934cae0fd83ac17114.html#ga1e2de41f2cea7b934cae0fd83ac17114">GPU_GetPixel</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__TargetControls_ga0c5bd912492e54da807370c4ef69ded0.html#ga0c5bd912492e54da807370c4ef69ded0">GPU_GetVirtualCoords</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__TargetControls_gaabd19dc9b86e6b68505e77a0976f93e5.html#gaabd19dc9b86e6b68505e77a0976f93e5">GPU_LoadTarget</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__TargetControls_ga209e4012625f27aa15079bce597d8e06.html#ga209e4012625f27aa15079bce597d8e06">GPU_MakeColor</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__TargetControls_ga10b41134791f712961a6f67b5cc2478f.html#ga10b41134791f712961a6f67b5cc2478f">GPU_MakeRect</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__TargetControls_ga7c0af0023694cdc561111305f0fef183.html#ga7c0af0023694cdc561111305f0fef183">GPU_SetCamera</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__TargetControls_ga85a3694b7e96ed1d6a6e794a48547a79.html#ga85a3694b7e96ed1d6a6e794a48547a79">GPU_SetClip</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__TargetControls_ga65cd12bd3d42dd5a9445d9ced68951b7.html#ga65cd12bd3d42dd5a9445d9ced68951b7">GPU_SetClipRect</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__TargetControls_ga0f83180afb8001a8745f4736d294b81a.html#ga0f83180afb8001a8745f4736d294b81a">GPU_SetTargetColor</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__TargetControls_gab7d09b68cb94b61a9c7d224e8aa200eb.html#gab7d09b68cb94b61a9c7d224e8aa200eb">GPU_SetTargetRGB</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__TargetControls_gae0ffdcee67a0ee1e01e779ffebb22196.html#gae0ffdcee67a0ee1e01e779ffebb22196">GPU_SetTargetRGBA</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__TargetControls_ga0ec1faa7766cf161c5c80e5301349009.html#ga0ec1faa7766cf161c5c80e5301349009">GPU_SetViewport</a></td></tr>
          <tr><td class="navtab"><a class="qindexHL" href="group__TargetControls_gab2871f8164b349ee171ce762f30c77a9.html#gab2871f8164b349ee171ce762f30c77a9">GPU_SetVirtualResolution</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__TargetControls_ga431f683795e2de7cd390bf5ebbdbad41.html#ga431f683795e2de7cd390bf5ebbdbad41">GPU_UnsetClip</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__TargetControls_gaf4dea589cb1a1bc8292b6d206c64be5f.html#gaf4dea589cb1a1bc8292b6d206c64be5f">GPU_UnsetTargetColor</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__TargetControls_ga6f16e3f37c15cd85e7e97916229a1253.html#ga6f16e3f37c15cd85e7e97916229a1253">GPU_UnsetVirtualResolution</a></td></tr>
        </table>
      </div>
   </td>
   <td valign="top" class="mempage">
<a class="anchor" id="gab2871f8164b349ee171ce762f30c77a9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC void SDLCALL GPU_SetVirtualResolution </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structGPU__Target.html">GPU_Target</a> *&#160;</td>
          <td class="paramname"><em>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint16&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint16&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Change the logical size of the given target. Rendering to this target will be scaled as if the dimensions were actually the ones given. </p>

</div>
</div>
    </td>
  </tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Feb 11 2015 20:10:45 for SDL_gpu by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
